import Vue from 'vue';
import {
    Form,
    Input,
    Select,
    Button,
    Icon,
    Checkbox,
    Layout,
    Menu,
    Breadcrumb,
    Dropdown,
    Avatar,
    Row,
    Col,
    Tabs,
    Alert,
    Modal,
    message,
    notification,
    Radio,
    Card,
    Spin,
    Table,
    Tag,
    Tooltip,
    TreeSelect
} from 'ant-design-vue';

Vue.use(Form);
Vue.use(Input);
Vue.use(Select);
Vue.use(Button);
Vue.use(Icon);
Vue.use(Checkbox);
Vue.use(Layout);
Vue.use(Menu);
Vue.use(Breadcrumb);
Vue.use(Dropdown);
Vue.use(Avatar);
Vue.use(Row);
Vue.use(Col);
Vue.use(Tabs);
Vue.use(Alert);
Vue.use(Modal);
Vue.use(Radio);
Vue.use(Card);
Vue.use(Spin);
Vue.use(Table);
Vue.use(Tag);
Vue.use(Tooltip);
Vue.use(TreeSelect);

Vue.prototype.$message = message
Vue.prototype.$notification = notification
Vue.prototype.$confirm = Modal.confirm
Vue.prototype.$info = Modal.info
Vue.prototype.$success = Modal.success
Vue.prototype.$error = Modal.error
Vue.prototype.$warning = Modal.warning